Skip to content

Conversation

@kebeclibre
Copy link

No description provided.

@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch 5 times, most recently from b085d50 to 9fc366b Compare April 13, 2021 14:49

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is var?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it wasn't necessary? you can patchAndCleanup the session I guess

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not necessary anymore (?)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove (everywhere as well) ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove ? sorry

@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch from 8085ebd to 839095b Compare April 14, 2021 13:36
@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch from 839095b to d6679fd Compare April 14, 2021 14:13
Copy link

@aab-odoo aab-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is globally OK, except for the translation part. I'm not sure to understand everything, and I believe it is unnecessary complicated. Let's talk about it tomorrow.

Comment on lines 142 to 143

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// We do want to signal willUnmount to the widget and its children
// without prejudice to exportState's comment.
/**
* The ComponentAdapter calls `on_attach_callback` on `this.widget`. However,
* in the ActionAdapter, we unset `this.widget` (see @exportState) to keep the child
* widget alive when this component is unmounted but the controller is still in the stack.
* This override ensures that `this.widget` is set when willUnmount is called on the
* ComponentAdapter.
*
* @override
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only used in tests, right? if so, should not be here

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

legacyTranslationService

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we sure that this is patched before being called?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not sure this really needs to be so complicated

@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch 3 times, most recently from 7ce2048 to 91f3de6 Compare May 14, 2021 08:58
@kebeclibre kebeclibre changed the title Master wowl staging2 lpe Convert createActionManager May 14, 2021
@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch 4 times, most recently from 692e1f5 to 6a0ab41 Compare May 18, 2021 13:14
@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch 5 times, most recently from 9dcb549 to f566bac Compare May 20, 2021 11:40
@robodoo
Copy link

robodoo commented May 20, 2021

@robodoo
Copy link

robodoo commented May 20, 2021

Sorry, I didn't know about this PR and had to retrieve its information, you may have to re-approve it.

@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch from 804c7dd to d5b301b Compare May 21, 2021 15:39

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to destroy (done via registerCleanup in createWebClient)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you try not to prettify all this file?

@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch 4 times, most recently from 5151e20 to 0de8c87 Compare May 26, 2021 06:52
@kebeclibre kebeclibre force-pushed the master-wowl-staging2-lpe branch from 0de8c87 to b818ceb Compare May 26, 2021 07:03
@aab-odoo
Copy link

robodoo r+

@robodoo
Copy link

robodoo commented May 26, 2021

Linked pull request(s) odoo-dev/enterprise#140 not ready. Linked PRs are not staged until all of them are ready.

@robodoo
Copy link

robodoo commented May 26, 2021

Because this PR has multiple commits, I need to know how to merge it:

  • merge to merge directly, using the PR as merge commit message
  • rebase-merge to rebase and merge, using the PR as merge commit message
  • rebase-ff to rebase and fast-forward

@kebeclibre
Copy link
Author

robodoo rebase-ff

@robodoo
Copy link

robodoo commented May 26, 2021

Merge method set to rebase and fast-forward

@kebeclibre
Copy link
Author

robodoo retry

@robodoo
Copy link

robodoo commented May 26, 2021

I'm sorry, @kebeclibre. Retry makes no sense when the PR is not in error.

robodoo pushed a commit that referenced this pull request May 26, 2021
closes #723

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
@robodoo robodoo closed this May 26, 2021
@sdegueldre sdegueldre deleted the master-wowl-staging2-lpe branch May 26, 2021 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants